<%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
<%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>

<html>
<head>
<title>Vote For A Specific Voting</title>
</head>
<body>
<f:view>
	<h:form>
	<h4 align="center">Vote For A Specific Voting</h4>
	<table>
		<tr>
			<td>
				<ul class="list_subsub_kisa">
				<li>
					<a href="votingSystemIndex.jsf" title="VotingSystemIndex">Return To Main Page</a>
				</li>
				</ul>
			</td>
			<td>
				<div class="columnMiddle"><rich:spacer width="1" height="50" />
					<rich:panel style="width:500px;background-color: #ebf3fd;">
						<f:facet name="header">
							<h:outputText value="Vote For A Specific Voting"></h:outputText>
						</f:facet>
						<h:panelGrid columns="2" style="width:500px;">
			
							<h:outputText value="Voting Desired:" />
							<h:selectOneMenu value="#{createNewTelephoneRecordController.listelemeSelectedTelephoneTypeId}"
								required="true" id="listelemeSelectedTelephoneTypeId">
								<f:selectItems
									value="#{createNewTelephoneRecordController.telephoneTypesItemsList}" />
							</h:selectOneMenu>

							<h:outputText value="" />
							<h:outputText value="" />
							<h:outputText value="" />
							<h:outputText value="" />
							
							<h:commandButton value="List Participants and Voting Results"
								action="#{listParticipantsOfASpecificVotingController.listParticipants}" />		
							
							<h:commandButton value="Cancel"
								action="#{listParticipantsOfASpecificVotingController.cancelListingParticipants}" />
								
						</h:panelGrid>
					</rich:panel>
				</div>
			</td>
		</tr>
	</table>
	</h:form>
</f:view>
</body>

</html>